<?php
http_response_code(404);
    include "./mysql.php";
    $user_id = $_GET["user_id"];
    $title = $_GET["title"];
    $price = $_GET["price"];
    $img_url = $_GET["img_url"];
    $sql = "insert into shopcar (user_id,title,price,img_url) values ('${user_id}','${title}','${price}','${img_url}')";
    $result = $mysqli->query($sql);
    if($result){        
        echo "true";
    }else{        
        echo "false";
    }